package fox.framework.rpc.client.invocation;

import java.lang.reflect.Method;

/**
 * Rpc客户端执行器
 * @author cuich
 */
public interface ConsumeInvoker {
    /**
     * 执行客户方法调用链
     * @param chain
     * @param method
     * @param args
     * @return
     * @throws Throwable
     */
    Object doInvoke(ConsumeInvokerChain chain, Method method, Object[] args) throws Throwable;
}
